package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 网关温度
 *
 * @author ssy
 * @date 2022/08/12 16:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizGatewayTemperatureParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Integer id;

    /**
     * 网关id
     */
    @NotNull(message = "网关id不能为空",groups = {add.class,edit.class})
    private Integer gatewayId;

    /**
     * 温度
     */
    @NotNull(message = "温度不能为空",groups = {add.class,edit.class})
    private String temperature;

    private String gatewayIds;

}
